{#{% extends 'Base/main.content.lists.div.html.twig' %}#}
{#{% import 'Base/list_item.twig' as listItem %}#}
{% extends 'Back/Sano/list.creator.html.twig' %}
{% import 'Back/Sano/list.item.twig' as listItem %}
{#默认不能删除和新增#}
{#{% block addBtn %}{% endblock %}#}
{#{% block delBtn %}{% endblock %}#}
{% block tableHead %}
    <tr>
        <th align="" width="5%">选择</th>
        <th align="" width="">{{config.k.label}}</th>
        <th align="" width="">{{config.createAt.label}}</th>
        <th align="" width="">{{config.sort.label}}</th>
        <th align="" width="">{{config.context.label}}</th>
        <th align="" width="">{{config.param.label}}</th>
        <th align="" width="">{{config.flag.label}}</th>
        <th align="" width="">{{config.tips.label}}</th>
        <th align="center" width="8%">操作</th>
    </tr>
{% endblock %}
{% block tableList %}
    {% for Entity in lists %}
        <tr>
            <td align='' width=''>
                <span class="checkall"><input lay-skin="primary" type="checkbox" name="ids[]" value="{{ Entity.id }}"/></span>
            </td>
            <td align='' width='' id='k_{{ Entity.id }}'>
                {{ listItem.text('k',Entity.k,Entity.id) }}
            </td>
            <td align='' width='' id='createAt_{{ Entity.id }}'>
                {{ listItem.day('createAt',Entity.createAt,Entity.id) }}
            </td>
            <td align='' width='' id='sort_{{ Entity.id }}'>
                {{ listItem.text('sort',Entity.sort,Entity.id) }}
            </td>
            <td align='' width='' id='context_{{ Entity.id }}'>
                {{ listItem.text('context',Entity.context,Entity.id) }}
            </td>
            <td align='' width='' id='param_{{ Entity.id }}'>
                {{ listItem.text('param',Entity.param,Entity.id) }}
            </td>
            <td align='' width='' id='flag_{{ Entity.id }}'>
                {{ listItem.text('flag',Entity.flag,Entity.id) }}
            </td>
            <td align='' width='' id='tips_{{ Entity.id }}'>
                {{ listItem.text('tips',Entity.tips,Entity.id) }}
            </td>
            <td align='' width=''>
                {{ listItem.edit('CronTabTask','',Entity.id) }}
            </td>
        </tr>
    {% endfor %}
{% endblock %}
{% block script %}
{% endblock %}

